net/http.transferWriter.Method (field)
12 uses
net/http (current package)
transfer.go#L61: Method string
transfer.go#L87: t.Method = valueOrDefault(rr.Method, "GET")
transfer.go#L113: t.Method = rr.Request.Method
transfer.go#L123: t.ResponseToHEAD = noResponseBodyExpected(t.Method)
transfer.go#L175: if t.Method == "CONNECT" {
transfer.go#L178: if requestMethodUsuallyLacksBody(t.Method) {
transfer.go#L264: if t.Method == "POST" || t.Method == "PUT" || t.Method == "PATCH" {
transfer.go#L268: if t.Method == "GET" || t.Method == "HEAD" {
transfer.go#L366: if t.Method == "CONNECT" {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |